'use strict';

const Service = require('egg').Service;

class LoginService extends Service {
	async list() {

		const userList = await this.ctx.model.User.findAll();
		console.log(userList);
		return userList;
	}
}

module.exports = LoginService;
